#include "MapOperation.h"
#include "LocationSoftwareOperation.h"
#include "Location3dOperation.h"

 namespace kybot_map {
 
 MapOperation::MapOperation()
 {
    
 }

 void MapOperation::Init()
 {

 }

 boost::shared_ptr<MapOperation> MapOperation::CreateMapOperation(const std::string& type)
 {
    if (type == "location_software")
    {
        return boost::make_shared<LocationSoftwareOperation>();
    }
    else if(type == "location_3d")
    {
        return boost::make_shared<Location3dOperation>();
    }
    return boost::make_shared<LocationSoftwareOperation>();
}
    
}